home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / haage&partner / stormc / radiodiallib / radiodiallib.h < prev    next >
C/C++ Source or Header  |  1997-11-11  |  1KB  |  49 lines

  1. /*
  2.         radiadiallib.h
  3.  
  4.         © 1997 HAAGE & PARTNER Computer GmbH
  5.  
  6.         written by Jan-Claas Dirks
  7.  
  8.         This is the header file for the
  9.         wizard_radiodial.library.
  10.         The tags the gadget will listen to
  11.         on funcztion calls like SetGadgetAttrs()
  12.         are defined here.
  13.  
  14.         By using WEXTERNA_Data?, you can preset
  15.         these tags in the StormWIZARD editor
  16.         on the Attributes/Extern page -
  17.         if they are number values.
  18. */
  19.  
  20. #ifndef RADIODIALLIB_H
  21. #define RADIODIALLIB_H
  22.  
  23. #include <utility/tagitem.h>
  24. #include <libraries/wizard.h>
  25.  
  26.  
  27. // The lower limit of the range
  28. // the numbers of this gadget may be in.
  29. #define RADIODIAL_MinLimit      WEXTERNA_Data0              // ISG--
  30.  
  31. // The upper limit of the range
  32. // the numbers of this gadget may be in.
  33. #define RADIODIAL_MaxLimit      WEXTERNA_Data1              // ISG--
  34.  
  35. // The value that this gadget represents.
  36. #define RADIODIAL_Value         WEXTERNA_Data2              // ISGN-
  37.  
  38. // The user can turn the dial RasterSteps times
  39. // until the knob has turned 360 degrees.
  40. #define RADIODIAL_RasterSteps   WEXTERNA_Data3              // I----
  41.  
  42. // The lower limit is represented at this
  43. // RasterOffset. 0 is at 12 o'clock. Given
  44. // 100 RasterSteps, -25 would be 9 o'clock.
  45. #define RADIODIAL_RasterOffset  WEXTERNA_Data4              // I----
  46.  
  47. #endif
  48.  
  49.